POV-Ray : Newsgroups : povray.newusers : height_field ? : Re: height_field ? Server Time
5 Sep 2024 20:20:22 EDT (-0400)
  Re: height_field ?  
From: Ken
Date: 4 Sep 1999 04:45:34
Message: <37D0DBDB.ED716189@pacbell.net>
Brian & Lois Bivolcic wrote:
> 
> Hi,
> I'm fairly new to POV-Ray, went thru the tutorial, every thing ok.
> Try to do my own height_field
> Partial code:
>     height_field{
>         tga "myimage"
>         smooth
>         translate<-.5,-.5,-.5>
>         scale <17,1.75,17>
>         }
> 
> I get a black outline, that doesn't even resemble what the tga looks
> like.
> Try different  scale, translation, and different light position.
> Any suggestion.
> Thank Brian
> 
> --
> Southern Cross Akitas (SCA)
> Lois & Brian Bivolcic
> Pampa, Tx
> http://www.centramedia.com/users/bivolcic

You need to add a pigment to the height field for it to appear. To get you
started try this:

     height_field{
         tga "myimage"
         smooth
         translate<-.5,-.5,-.5>
         scale <17,1.75,17>
         pigment { rgb <1,1,1> }
         }


-- 
Ken Tyler

See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.